package com.wetool.wechat.model.official.template;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

/**
 * 消息模板关键字
 */
@Getter
@Setter
public class MessageData {

    /**
     * 内容
     */
    private String value;

    /**
     * 内容颜色
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String color;

    public MessageData(String value, String color) {
        this.value = value;
        this.color = color;
    }

    public MessageData(String value) {
        this.value = value;
    }

    public MessageData() {

    }
}
